home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 8542 / 8542.xpi / chrome / lastpass.jar / content / formfill.xul < prev    next >
Extensible Markup Language  |  2010-02-14  |  27KB  |  509 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
  3. <!DOCTYPE dialog SYSTEM "chrome://lastpass/locale/lastpass.dtd">
  4.  
  5. <dialog id="LPEditFormFill2"
  6.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  7.         buttons="accept,extra2,cancel,help"
  8.         ondialogaccept="return LP.formfill_accept_click(document,window);"
  9.         ondialogextra2="return LP.formfill_delete_click(document,window);"
  10.         ondialogcancel="return LP.formfill_cancel_click(document,window);"
  11.         ondialoghelp="LP.lpshowHelpDlg('formfill', window);"
  12.         onload="LP.formfill_window_load(document,window);">
  13.     
  14.     <script type="application/x-javascript" src="chrome://lastpass/content/getlp.js" />
  15.     
  16.     <vbox align="center" height="42">
  17.         <image src="chrome://lastpass/skin/icon.png" width="225" height="36" />
  18.     </vbox>
  19.     
  20.     <hbox flex="1">
  21.         <grid flex="1">
  22.             <columns>
  23.                 <column flex="1"/>
  24.                 <column flex="100"/>
  25.             </columns>
  26.             <rows>
  27.                 <row>
  28.                     <label id="profilenamelabel" control="lpprofilename" />
  29.                     <textbox id="lpprofilename" minwidth="180"/>
  30.                 </row>
  31.             </rows>
  32.         </grid>
  33.         <spacer height="10"/>
  34.         <grid flex="1">
  35.             <columns>
  36.                 <column flex="1"/>
  37.                 <column flex="100"/>
  38.             </columns>
  39.             <rows>
  40.                 <row>
  41.                     <label id="profilelanglabel" control="lpprofilelanguage" />
  42.                     <menulist sizetopopup="always" id="lpprofilelanguage" oncommand="LP.formfill_retranslate(document,window);">
  43.                         <menupopup id="lpprofilelanguagepopup"/>
  44.                     </menulist>
  45.                 </row>
  46.             </rows>
  47.         </grid>
  48.     </hbox>
  49.     
  50.     <spacer height="10"/>
  51.     
  52.     <tabbox>
  53.         <tabs id="fftabs">
  54.             <tab id="personalinfo"/>
  55.             <tab id="contactinfo"/>
  56.             <tab id="creditcardinfo"/>
  57.             <tab id="bankaccountinfo"/>
  58.             <tab id="customfields"/>
  59.             <tab id="notes"/>
  60.         </tabs>
  61.         <tabpanels>
  62.             <tabpanel>
  63.                 <vbox>
  64.                     <hbox flex="1">
  65.                         
  66.                         
  67.                         <grid flex="1">
  68.                             <columns>
  69.                                 <column flex="1"/>
  70.                                 <column flex="100"/>
  71.                             </columns>
  72.                             <rows>
  73.                                 <row>
  74.                                     <label id="titlelabel" control="lptitle" />
  75.                                     <menulist sizetopopup="always" id="lptitle">
  76.                                         <menupopup id="lptitlepopup">
  77.                                             <menuitem id="pleaseselect1" value=""/>
  78.                                             <menuitem id="mr" value="mr"/>
  79.                                             <menuitem id="mrs" value="mrs"/>
  80.                                             <menuitem id="ms" value="ms"/>
  81.                                             <menuitem id="dr" value="dr"/>
  82.                                         </menupopup>
  83.                                     </menulist>
  84.                                 </row>
  85.                                 <row>
  86.                                     <label id="firstlabel" control="lpfirstname" />
  87.                                     <textbox flex="1" id="lpfirstname"/>
  88.                                 </row>
  89.                                 <row>
  90.                                     <label id="middlelabel" control="lpmiddlename" />
  91.                                     <textbox flex="1" id="lpmiddlename"/>
  92.                                 </row>
  93.                                 <row>
  94.                                     <label id="lastlabel" control="lplastname" />
  95.                                     <textbox flex="1" id="lplastname"/>
  96.                                 </row>
  97.                                 <row>
  98.                                     <label id="usernamelabel" control="lpusername" />
  99.                                     <textbox id="lpusername"/>
  100.                                 </row>
  101.                                 <row>
  102.                                     <label id="genderlabel" control="lpgender" />
  103.                                     <menulist sizetopopup="always" id="lpgender">
  104.                                         <menupopup id="lpgenderpopup">
  105.                                             <menuitem id="pleaseselect2" value=""/>
  106.                                             <menuitem id="male" value="m"/>
  107.                                             <menuitem id="female" value="f"/>
  108.                                         </menupopup>
  109.                                     </menulist>
  110.                                 </row>
  111.                                 <row>
  112.                                     <label id="birthdaylabel" control="lpbirthmonth" />
  113.                                     <hbox>
  114.                                         <menulist sizetopopup="always" id="lpbirthmonth" oncommand="LP.formfill_fix_birthday(document,window);">
  115.                                             <menupopup id="lpbirthmonthpopup">
  116.                                                 <menuitem label="" value=""/>
  117.                                             </menupopup>
  118.                                         </menulist>
  119.                                         <menulist id="lpbirthday" sizetopopup="always">
  120.                                             <menupopup id="lpbirthdaypopup">
  121.                                                 <menuitem label="" value=""/>
  122.                                             </menupopup>
  123.                                         </menulist>
  124.                                         <textbox id="lpbirthyear" size="4" maxlength="4" onchange="LP.formfill_fix_birthday(document,window);"/>
  125.                                     </hbox>
  126.                                 </row>
  127.                                 <row>
  128.                                     <label id="ssnlabel" control="lpssn" />
  129.                                     <textbox id="lpssn" flex="1"/>
  130.                                 </row>
  131.                             </rows>
  132.                         </grid>
  133.                         
  134.                         <spacer height="10"/>
  135.                         
  136.                         
  137.                         <grid flex="1">
  138.                             <columns>
  139.                                 <column flex="1"/>
  140.                                 <column flex="100"/>
  141.                             </columns>
  142.                             <rows>
  143.                                 <row>
  144.                                     <label id="companylabel" control="lpcompany" />
  145.                                     <textbox flex="1" id="lpcompany"/>
  146.                                 </row>
  147.                                 <row>
  148.                                     <label id="addr1label" control="lpaddress1" />
  149.                                     <textbox flex="1" id="lpaddress1"/>
  150.                                 </row>
  151.                                 <row>
  152.                                     <label id="addr2label" control="lpaddress2" />
  153.                                     <textbox flex="1" id="lpaddress2"/>
  154.                                 </row>
  155.                                 <row>
  156.                                     <label id="addr3label" control="lpaddress3" />
  157.                                     <textbox flex="1" id="lpaddress3"/>
  158.                                 </row>
  159.                                 <row>
  160.                                     <label id="citylabel" control="lpcity" />
  161.                                     <textbox flex="1" id="lpcity"/>
  162.                                 </row>
  163.                                 <row>
  164.                                     <label id="countylabel" control="lpcounty" />
  165.                                     <textbox flex="1" id="lpcounty"/>
  166.                                 </row>
  167.                                 <row>
  168.                                     <label id="statelabel" control="lpstate" />
  169.                                     <menulist sizetopopup="always" id="lpstate" editable="true">
  170.                                         <menupopup id="lpstatepopup">
  171.                                             <menuitem id="pleaseselect3" value=""/>
  172.                                         </menupopup>
  173.                                     </menulist>
  174.                                 </row>
  175.                                 <row>
  176.                                     <label id="ziplabel" control="lpzip" />
  177.                                     <textbox flex="1" id="lpzip"/>
  178.                                 </row>
  179.                                 <row>
  180.                                     <label id="countrylabel" control="lpcountry" />
  181.                                     <hbox>
  182.                                         <menulist id="lpcountry">
  183.                                             <menupopup id="lpcountrypopup">
  184.                                                 <menuitem id="pleaseselect4" value=""/>
  185.                                             </menupopup>
  186.                                         </menulist>
  187.                                     </hbox>
  188.                                 </row>
  189.                                 <row>
  190.                                     <label id="tzlabel" control="lptimezone" />
  191.                                     <menulist sizetopopup="always" id="lptimezone">
  192.                                         <menupopup id="lptimezonepopup">
  193.                                             <menuitem id="pleaseselect5" value=""/>
  194.                                         </menupopup>
  195.                                     </menulist>
  196.                                 </row>
  197.                             </rows>
  198.                         </grid>
  199.                     </hbox>
  200.                 </vbox>
  201.             </tabpanel>
  202.             
  203.             <tabpanel>
  204.                 <vbox>
  205.                     <hbox flex="1">
  206.                         <grid flex="1">
  207.                             <columns>
  208.                                 <column flex="1"/>
  209.                                 <column flex="100"/>
  210.                             </columns>
  211.                             <rows>
  212.                                 <row>
  213.                                     <label id="emaillabel" control="lpemail" />
  214.                                     <textbox id="lpemail"/>
  215.                                 </row>
  216.                             </rows>
  217.                         </grid>
  218.                     </hbox>
  219.                     
  220.                     <spacer height="10"/>
  221.                     
  222.                     <hbox flex="1">
  223.                         
  224.                         <grid flex="1">
  225.                             <columns>
  226.                                 <column flex="1"/>
  227.                                 <column flex="100"/>
  228.                             </columns>
  229.                             <rows>
  230.                                 <row>
  231.                                     <label id="lpphone_label" />
  232.                                     <groupbox>
  233.                                         <caption id="groupcaptionphone"/>
  234.                                         <textbox id="lpphone" flex="1"/>
  235.                                         <menulist id="lpcountryphone" oncommand="LP.formfill_fix(document,'phone');">
  236.                                             <menupopup id="lpcountryphonepopup">
  237.                                                 <menuitem id="pleaseselect6" value=""/>
  238.                                             </menupopup>
  239.                                         </menulist>
  240.                                         <hbox>
  241.                                             <hbox align="center" id="lpphone_dom">
  242.                                                 <label value="(" />
  243.                                                 <textbox id="lpphone_npa" size="3" maxlength="3" oninput="LP.formfill_npa_input(document,'phone');"/>
  244.                                                 <label value=")" />
  245.                                                 <textbox id="lpphone_nxx" size="3" maxlength="3" oninput="LP.formfill_nxx_input(document,'phone');"/>
  246.                                                 <label value="-" />
  247.                                                 <textbox id="lpphone_xxxx" size="4" maxlength="4" oninput="LP.formfill_xxxx_input(document,'phone');"/>
  248.                                             </hbox>
  249.                                             <hbox align="center" id="lpphone_int">
  250.                                                 <textbox id="lpphone_cc" disabled="true" size="3" maxlength="3"/>
  251.                                                 <textbox id="lpphone_intl" flex="1"/>
  252.                                             </hbox>
  253.                                             <label id="extlabel" control="lpphoneext"/>
  254.                                             <textbox id="lpphoneext" size="4"/>
  255.                                         </hbox>
  256.                                     </groupbox>
  257.                                 </row>
  258.                                 <row>
  259.                                     <label id="lpfax_label" />
  260.                                     <groupbox>
  261.                                         <caption id="groupcaptionfax"/>
  262.                                         <textbox id="lpfax" flex="1"/>
  263.                                         <menulist id="lpcountryfaxphone" oncommand="LP.formfill_fix(document,'fax');">
  264.                                             <menupopup id="lpcountryfaxphonepopup">
  265.                                                 <menuitem id="pleaseselect7" value=""/>
  266.                                             </menupopup>
  267.                                         </menulist>
  268.                                         <hbox>
  269.                                             <hbox align="center" id="lpfax_dom">
  270.                                                 <label value="(" />
  271.                                                 <textbox id="lpfax_npa" size="3" maxlength="3" oninput="LP.formfill_npa_input(document,'fax');"/>
  272.                                                 <label value=")" />
  273.                                                 <textbox id="lpfax_nxx" size="3" maxlength="3" oninput="LP.formfill_nxx_input(document,'fax');"/>
  274.                                                 <label value="-" />
  275.                                                 <textbox id="lpfax_xxxx" size="4" maxlength="4" oninput="LP.formfill_xxxx_input(document,'fax');"/>
  276.                                             </hbox>
  277.                                             <hbox align="center" id="lpfax_int">
  278.                                                 <textbox id="lpfax_cc" disabled="true" size="3" maxlength="3"/>
  279.                                                 <textbox id="lpfax_intl" flex="1"/>
  280.                                             </hbox>
  281.                                             <label id="faxextlabel" control="lpfaxphoneext"/>
  282.                                             <textbox id="lpfaxphoneext" size="4"/>
  283.                                         </hbox>
  284.                                     </groupbox>
  285.                                 </row>
  286.                                  
  287.                             </rows>
  288.                         </grid>
  289.                         
  290.                         <spacer height="10"/>
  291.                         
  292.                         
  293.                         <grid flex="1">
  294.                             <columns>
  295.                                 <column flex="1"/>
  296.                                 <column flex="100"/>
  297.                             </columns>
  298.                             <rows>
  299.                                 <row>
  300.                                     <label id="lpevephone_label" />
  301.                                     <groupbox>
  302.                                         <caption id="groupcaptioneve"/>
  303.                                         <textbox id="lpevephone" flex="1"/>
  304.                                         <menulist id="lpcountryevephone" oncommand="LP.formfill_fix(document,'evephone');">
  305.                                             <menupopup id="lpcountryevephonepopup">
  306.                                                 <menuitem id="pleaseselect8" value=""/>
  307.                                             </menupopup>
  308.                                         </menulist>
  309.                                         <hbox>
  310.                                             <hbox align="center" id="lpevephone_dom">
  311.                                                 <label value="(" />
  312.                                                 <textbox id="lpevephone_npa" size="3" maxlength="3" oninput="LP.formfill_npa_input(document,'evephone');"/>
  313.                                                 <label value=")" />
  314.                                                 <textbox id="lpevephone_nxx" size="3" maxlength="3" oninput="LP.formfill_nxx_input(document,'evephone');"/>
  315.                                                 <label value="-" />
  316.                                                 <textbox id="lpevephone_xxxx" size="4" maxlength="4" oninput="LP.formfill_xxxx_input(document,'evephone');"/>
  317.                                             </hbox>
  318.                                             <hbox align="center" id="lpevephone_int">
  319.                                                 <textbox id="lpevephone_cc" disabled="true" size="3" maxlength="3"/>
  320.                                                 <textbox id="lpevephone_intl" flex="1"/>
  321.                                             </hbox>
  322.                                             <label id="eveextlabel" control="lpevephoneext"/>
  323.                                             <textbox id="lpevephoneext" size="4"/>
  324.                                         </hbox>
  325.                                     </groupbox>
  326.                                 </row>
  327.                                 <row>
  328.                                     <label id="lpmobilephone_label" />
  329.                                     <groupbox>
  330.                                         <caption id="groupcaptionmob"/>
  331.                                         <textbox id="lpmobilephone" flex="1"/>
  332.                                         <menulist id="lpcountrymobphone" oncommand="LP.formfill_fix(document,'mobilephone');">
  333.                                             <menupopup id="lpcountrymobphonepopup">
  334.                                                 <menuitem id="pleaseselect9" value=""/>
  335.                                             </menupopup>
  336.                                         </menulist>
  337.                                         <hbox>
  338.                                             <hbox align="center" id="lpmobilephone_dom">
  339.                                                 <label value="(" />
  340.                                                 <textbox id="lpmobilephone_npa" size="3" maxlength="3" oninput="LP.formfill_npa_input(document,'mobilephone');"/>
  341.                                                 <label value=")" />
  342.                                                 <textbox id="lpmobilephone_nxx" size="3" maxlength="3" oninput="LP.formfill_nxx_input(document,'mobilephone');"/>
  343.                                                 <label value="-" />
  344.                                                 <textbox id="lpmobilephone_xxxx" size="4" maxlength="4" oninput="LP.formfill_xxxx_input(document,'mobilephone');"/>
  345.                                             </hbox>
  346.                                             <hbox align="center" id="lpmobilephone_int">
  347.                                                 <textbox id="lpmobilephone_cc" disabled="true" size="3" maxlength="3"/>
  348.                                                 <textbox id="lpmobilephone_intl" flex="1"/>
  349.                                             </hbox>
  350.                                             <label id="mobextlabel" control="lpmobphoneext"/>
  351.                                             <textbox id="lpmobphoneext" size="4"/>
  352.                                         </hbox>
  353.                                     </groupbox>
  354.                                 </row>
  355.                                  
  356.                             </rows>
  357.                         </grid>
  358.                     </hbox>
  359.                 </vbox>
  360.             </tabpanel>
  361.             
  362.             <tabpanel>
  363.                 <hbox flex="1">
  364.                     <grid flex="1">
  365.                         <columns>
  366.                             <column/>
  367.                             <column/>
  368.                         </columns>
  369.                         <rows>
  370.                             <row>
  371.                                 <label id="ccnamelabel" control="lpccname" />
  372.                                 <textbox id="lpccname"/>
  373.                             </row>
  374.                             <row>
  375.                                 <label id="cclabel" control="lpccnum" />
  376.                                 <textbox id="lpccnum" maxlength="19"/>
  377.                             </row>
  378.                             <row>
  379.                                 <label id="ccstartlabel" control="lpccstartmonth" />
  380.                                 <hbox>
  381.                                     <menulist sizetopopup="always" id="lpccstartmonth">
  382.                                         <menupopup id="lpccstartmonthpopup">
  383.                                             <menuitem label="" value=""/>
  384.                                         </menupopup>
  385.                                     </menulist>
  386.                                     <textbox id="lpccstartyear" size="4" maxlength="4"/>
  387.                                 </hbox>
  388.                             </row>
  389.                             <row>
  390.                                 <label id="ccexplabel" control="lpccexpmonth" />
  391.                                 <hbox>
  392.                                     <menulist sizetopopup="always" id="lpccexpmonth">
  393.                                         <menupopup id="lpccexpmonthpopup">
  394.                                             <menuitem label="" value=""/>
  395.                                         </menupopup>
  396.                                     </menulist>
  397.                                     <textbox id="lpccexpyear" size="4" maxlength="4"/>
  398.                                 </hbox>
  399.                             </row>
  400.                             <row>
  401.                                 <label id="csclabel" control="lpcccsc" />
  402.                                 <hbox>
  403.                                     <textbox id="lpcccsc" size="4" maxlength="4"/>
  404.                                     <label id="cscnote" />
  405.                                     <spacer flex="2"/>
  406.                                 </hbox>
  407.                             </row>
  408.                             <row>
  409.                                 <label id="issuenumlabel" control="lpccissuenum" />
  410.                                 <hbox>
  411.                                     <textbox id="lpccissuenum" size="3" maxlength="3"/>
  412.                                     <label id="issuenumnote" />
  413.                                     <spacer flex="2"/>
  414.                                 </hbox>
  415.                             </row>
  416.                         </rows>
  417.                     </grid>
  418.                 </hbox>
  419.             </tabpanel>
  420.             <tabpanel>
  421.                 <hbox flex="1">
  422.                     <grid flex="1">
  423.                         <columns>
  424.                             <column/>
  425.                             <column/>
  426.                         </columns>
  427.                         <rows>
  428.                             <row>
  429.                                 <label id="banklabel" control="lpbankname" />
  430.                                 <textbox id="lpbankname"/>
  431.                             </row>
  432.                             <row>
  433.                                 <label id="acctnumlabel" control="lpbankacctnum" />
  434.                                 <textbox id="lpbankacctnum"/>
  435.                                 <label id="acctnumnote" />
  436.                             </row>
  437.                             <row>
  438.                                 <label id="routingnumlabel" control="lpbankroutingnum" />
  439.                                 <textbox id="lpbankroutingnum"/>
  440.                                 <label id="routingnumnote" />
  441.                             </row>
  442.                         </rows>
  443.                     </grid>
  444.                 </hbox>
  445.             </tabpanel>
  446.             <tabpanel>
  447.                 <vbox flex="1">
  448.                     <hbox>
  449.                         <label id="textlabel" width="200" style="font-weight: bold;" />
  450.                         <label id="valuelabel" width="200" style="font-weight: bold;" />
  451.                         <label id="alttextlabel" width="200" style="font-weight: bold;" />
  452.                     </hbox>
  453.                     <vbox flex="1" style="overflow: auto;" height="300">
  454.                         <grid>
  455.                             <columns>
  456.                                 <column/>
  457.                                 <column/>
  458.                                 <column/>
  459.                             </columns>
  460.                             <rows id="customfieldrows" />
  461.                         </grid>
  462.                     </vbox>
  463.                 </vbox>
  464.             </tabpanel>
  465.             <tabpanel>
  466.                 <hbox flex="1">
  467.                     <grid flex="1">
  468.                         <columns>
  469.                             <column/>
  470.                             <column/>
  471.                         </columns>
  472.                         <rows>
  473.                             <row>
  474.                                 <label id="noteslabel" control="lpnotes" />
  475.                                 <textbox id="lpnotes" multiline="true" width="750" height="250" />
  476.                             </row>
  477.                         </rows>
  478.                     </grid>
  479.                 </hbox>
  480.             </tabpanel>
  481.         </tabpanels>
  482.     </tabbox>
  483.     
  484.     <spacer height="10"/>
  485.     
  486.     <hbox flex="1">
  487.         <grid flex="1">
  488.             <columns>
  489.                 <column flex="1"/>
  490.                 <column flex="2"/>
  491.             </columns>
  492.             <rows>
  493.                 <row>
  494.                     <checkbox id="lppwprotect" flex="1"/>
  495.                 </row>
  496.             </rows>
  497.         </grid>
  498.         <spacer height="10"/>
  499.         <grid flex="1">
  500.             <columns>
  501.                 <column flex="1"/>
  502.                 <column flex="2"/>
  503.             </columns>
  504.             <rows>
  505.             </rows>
  506.         </grid>
  507.     </hbox>
  508. </dialog>
  509.